<?php
include("../inc/Function_user.php");
upower();
$psize = 15;
$page = isset($_GET['page'])?$_GET['page']:1;
$info = userinfo();
$id = isset($_GET['id'])?$_GET['id']:0;
$list = hxinfo($page,$psize,$id,$info['Id']);
$num = hxinfonum($id,$info['Id']);

if($list){
    $msg = 1;
}else{
    $msg = 0;
}
$page = page1($num,$psize,$page,$_SERVER['PHP_SELF']."?id=$id");
$tpl->assign("clist",$list);
$tpl->assign("jjarr",$jjarr);
$tpl->assign("msg",$msg);
$tpl->assign("info",$info);
$tpl->assign("page",$page);
$tpl->show("hxinfo");
?>